Repository navigation
feat(httpapi): surface declared browser origins in the live view — ADR 0195 Phase 4 tail(含 OCR delegate 复审) - #542
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
ADR 0195 Phase 4 tail: project Capabilities.DeclaredOrigins into AgentBrowserStatusView (omitempty, absent for unscoped Full sessions), regenerate the OpenAPI document and the web schema, and show the operator-declared boundary in the agent browser live view ahead of the stream for scoped sessions. The refusal note keeps its current wording until the Phase 3 origin-add surface provides the declaration path. Includes the OCR delegate review record; the delegate findings (missing component tests, run show follow-up) are addressed or recorded there.
…us type The app build type-checks against the hand-written AgentBrowserStatus interface, not the generated schema; the live view's declared_origins field needs the same optional string array there.
3977294 to
bab65dc
Compare
5bbdc2b to
d4f12cd
Compare
…il view Rebased on latest main to resolve conflicts with #542 merge.
在对话页的 Agent 浏览器卡片中展示当前会话声明的导航来源;后端 status 传递
declared_origins,空列表和不可用状态不显示这一行。标签已缩短,长地址沿用卡片换行与滚动布局。浏览器请求能力已由 #538 合并,本 PR 基于 main。等待界面审核,暂缓合并。
更改前后
以下为真实
V2AgentBrowser组件与生产样式,用本地 status fixture 提供会话数据;不是完整工作台或后端浏览器执行截图。浅色中文,1024×600 窗口,卡片原尺寸裁剪、未缩放。390px 窄窗口与长来源
验证:25 个组件测试、TypeScript 检查通过;Edge 实际检查桌面、390px 长地址、暗色、英文,无水平溢出,停止和关闭按钮可见。原始全窗口截图、记录与复现方式。
Summary by CodeRabbit